package com.springbootdf.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.springbootdf.Dto.ScoreDto;
import com.springbootdf.entity.Game;
import com.springbootdf.entity.Score;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wy
 * @since 2022-09-29
 */
@Mapper
public interface ScoreMapper extends MppBaseMapper<Score> {

    List<ScoreDto> allScore(@Param("id") Integer gameId);
}
